<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="email=no">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="HandheldFriendly" content="true">
<meta name="MobileOptimized" content="320">
<meta name="screen-orientation" content="portrait">
<meta name="x5-orientation" content="portrait">
<meta name="full-screen" content="yes">
<meta name="x5-fullscreen" content="true">
<meta name="browsermode" content="application">
<meta name="x5-page-mode" content="app">
<meta name="msapplication-tap-highlight" content="no">
<link href="static/css/normalize.min.css" rel="stylesheet">
<link rel="stylesheet" href="static/css/layer.css">
<script src="static/js/layer.m.js"></script>
<link href="static/css/layer.css" type="text/css" rel="styleSheet" id="layermcss">
<script src="static/js/jquery.min.js"></script>
<script src="static/js/layer/layer.js"></script>
<link href="static/css/app.css" rel="stylesheet">
<link rel="stylesheet" href="static/js/layui/css/layui.css"  media="all">
<script src="static/js/layui/layui.js"></script>
<link type="image/x-icon" rel="shortcut icon" href="//static.imagess-google.com/ico/90cp.ico">
<script>var _uid = {$_uid};</script>
<title>专业彩票投注平台！</title>
<link rel="stylesheet" type="text/css" href="http://119.28.64.244/resources/css/artDialog.css" />
<link rel="stylesheet" type="text/css" href="static/ssc/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="http://119.28.64.244/resources/css/k3.css" />
<link rel="stylesheet" href="http://119.28.64.244/resources/css2/icon.css">
<link rel="stylesheet" href="static/ssc/style.css">
<link rel="stylesheet" href="http://119.28.64.244/resources/css2/main.css">
<link rel="stylesheet" href="http://119.28.64.244/resources/css/common.css">
<link rel="stylesheet" href="static/ssc/ssc.css">
<script src="static/js/ssc_cm.js"></script>
<script type="text/javascript" src="http://119.28.64.244/resources/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="http://119.28.64.244/resources/js/artDialog.js"></script>
</head>
<body>
<script>
var WebConfigs = {
	webtitle:"大众彩票",
	kefuthree:"",
	kefuqq:"",
	ROOT : ""
};
</script>

<div id="app" class="lottery" style="height:1350px;">
  <div class="header">
    <div id="HeaderTop" class="betHeader">
      <div class="snav">
        <div class="container">
          <div class="snavAll">
            <a href="/"></a><ins> | </ins><a href="{U('index/lotteryHall')}" class="betNavMore">全部彩票</a>
          </div>
          <ul class="snavInfo">
            <li class="userName MsgShow">
              <a class="_personalInfo"><img alt="" src="{$_user['head_pic']}"><i>{$_user['username']}</i></a>
              <span id="unreadMsgNum" onclick="window.location='letter'">0</span>
                  <div class="cardBox" style=" width: 420px; display: none;">
                    <div class="card fix">
                      <div class="cardLeft">
                        <img src="{$_user['head_pic']}" style="width: 80px; height: 80px;"> 
                      <h6>{if $_user['nickname']} {$_user['nickname']}{else}昵称未设置{/if}</h6>
                    </div> 
                    <div class="cardInfo">
                        <ul>
                          <li>性别：保密</li> 
                          <li>账号：{$_user['username']}</li> 
                          <li>等级：测试组</li> 
                          <li>头衔：试玩</li> 
                          <li>累计中奖：0.00</li>
                        </ul>
                    </div> 
                    <ul class="cardIcon fix">
                      <li><a><i class="iconfont L_K3"></i></a></li>
                      <li><a><i class="iconfont noActive L_SSC"></i></a></li>
                      <li><a><i class="iconfont noActive L_SYX5"></i></a></li>
                      <li><a><i class="iconfont noActive L_PK10"></i></a></li>
                      <li><a><i class="iconfont noActive L_KL8"></i></a></li>
                      <li><a><i class="iconfont noActive L_FC3D"></i></a></li>
                      <li><a><i class="iconfont noActive L_PL35"></i></a></li>
                      <li><a><i class="iconfont noActive L_6HC"></i></a></li>
                    </ul>
                  </div>
                </div>
          </li>
            <li class="HoverShow">
                <a href="?m=member&c=info">
                  我的账户 <i class="iconfont"></i>
              </a>
                <div class="accountList HoverShowContent" style="display: none;">
                  <i></i>
                  <a href="?m=member&c=BetRecord">投注记录</a>
                  <a href="?m=member&c=BillRecord">交易记录</a>
                  <a href="?m=member&c=info">个人信息</a>
                  <a href="?m=member&c=securityCenter">安全中心</a>
                  <a href="?m=member&c=agentIntro">代理中心</a>
                </div>
            </li>
            <li>余额：
              {$_user['money']}
            </li>
            <li class="HoverPay">
              <a>充值 <i class="iconfont"></i></a>
            <div class="accountList HoverShowContent" style="display: none;">
              <i></i>
              <a href="{U('member/recharge', array('type'=>'bank'))}" class="">银行转帐</a>
                      <a href="{U('member/recharge', array('type'=>'quick'))}" class="">快捷支付</a>
                      <a href="{U('member/recharge', array('type'=>'alipay'))}" class="">支付宝充值</a>
                      <a href="{U('member/recharge', array('type'=>'weichar'))}" class="">微信充值</a>
                      <a href="{U('member/recharge', array('type'=>'qqpay'))}" class="">QQ钱包</a>
                      <a href="{U('member/recharge', array('type'=>'bankqrcode'))}" class="">银联扫码</a>
                      <a style="">快充-自动到账</a>
            </div>
            </li>
            <li><a href="?m=member&c=moneytx">提现</a></li>
            <li class="LoginOut"><a href="{U('member/login/logout')}">退出</a></li>
            <a class="serviceLink ServiceBtn"><i class="iconfont"></i><span></span></a>
          </ul>
        </div>
      </div>
    </div>
  </div>

    <div id="id_betMoreList_Box">
          <table class="betMoreList" style="display: none;">
              <tbody>
                <tr>
                        <th style="width: 214px;">快3</th>
                        <th>时时彩</th>
                        <th>快乐彩</th>
                        <th>11选5</th>
                        <th>低频彩</th>
                  </tr>
                  <tr>
                    <td>
                      {loop $k3 as $r}
                        <a href="index.php?m=index&c=k3&id={$r['id']}" class="" style="">
                            {$r['title']}
                        </a>
                      {/loop}
                    </td>
                  <td>
                    {loop $lottCateKey['7'] as $lk => $lv}
                      <a href="{U('index/' . $lv['ptid'], array('id' => $lv['id']))}" class="">{$lv['title']}</a>
                    {/loop}
                    </td>
                    <td>
                        <a href="/lottery/KL8/1302" class="">北京快乐8</a>
                        <a href="/lottery/PK10/1303" class="">北京PK10</a>
                        <a href="/lottery/6HC/1301" class="">香港六合彩</a>
                        <a href="/lottery/6HC/1300" class="">大发六合彩</a>
                    </td>
                    <td>
                      {loop $lottCateKey['9'] as $lk2 => $lv2}
                      <a href="{U('index/' . $lv2['ptid'], array('id' => $lv2['id']))}" class="">{$lv2['title']}</a>
                    {/loop}
                    </td>
                    <td>
                      <a href="/lottery/FC3D/1201" class="">福彩3D</a>
                      <a href="/lottery/PL35/1202" class="">排列3</a>
                    </td>
                  </tr>
                </tbody>
      </table>
        </div>


<style> 
  .j_lottery_time .shij span{
    color: #fff;
    font-size: 36px;
  }
</style>
<script type="text/javascript" src="static/ssc/way.min.js"></script>
<script type="text/javascript" src="static/ssc/common.js"></script>
<script type="text/javascript" src="static/ssc/tabGameData.js"></script>
<script type="text/javascript" src="static/ssc/ssc.js"></script>
<script type="text/javascript" src="static/ssc/tabGame.js"></script>

<section class="container wapper" id="gamepage" style="width:1030px!important;">
  <div class="open_containers g_Time_Section">
        <!--彩种logo-->
        <div class="cz_logo">
            <h2 class="lottery_title_h2" way-data="showLotteryTitle.name">{$info['title']}</h2>
            <a href="javascript:void(0)" style="margin-top:-10px;" >
                <i class="icon--shishicai iconfont special common_lottery_icon"></i>
            </a>
        </div>
        <!--彩种logo-->
        <!--彩种开奖倒计时-->
        <div class="cz_daojishi">
            <div class="open_issue">距&nbsp;&nbsp;
        <b class="c_red" id="f_lottery_info_number" way-data="showExpect.currFullExpect">---</b>&nbsp;&nbsp;期投注截止还有：
      </div>
            <div class="j_lottery_time" servertime="" style="font-size: 22px; color: rgb(255, 255, 255);">
        <div class="shij">
                  <span way-data="gametimes.h">00</span>
                    :
                  <span way-data="gametimes.m">00</span>
                    :
                  <span way-data="gametimes.s">00</span>
                </div>
      </div>
        </div>
        <!--彩种开奖倒计时-->

        <!--彩种开奖号码-->
        <div class="cz_openNumb">

            <div class="open_issue">第&nbsp;&nbsp;<b class="c_red" way-data="showExpect.lastFullExpect" id="f_lottery_info_lastnumber" firstissueno="">---</b>&nbsp;&nbsp;期开奖号码为：</div>
            <div class="open_number">
                <input type="hidden" value="1,1,2" id="j_openNum"><!--开奖号码效果赋值-->
                <ol id="ssc_winning_sum">
          <li class="ssc_winning_sum_gif" way-data="showExpect.openCode1"></li>
                    <li class="ssc_winning_sum_gif" way-data="showExpect.openCode2"></li>
                    <li class="ssc_winning_sum_gif" way-data="showExpect.openCode3"></li>
                    <li class="ssc_winning_sum_gif" way-data="showExpect.openCode4"></li>
                    <li class="ssc_winning_sum_gif" way-data="showExpect.openCode5"></li>
        </ol>
            </div>

        </div>
        <!--彩种开奖号码-->
    </div>
    
  <div class="lottery_playContainer">
    <div class="system_lottery_box">
      <span class="prev">
        <i class="iconfont icon-a866"></i>
      </span>
      <ul class="system_lottery" style="width: 1506px;">
        <!--彩种代码-->
          {loop $ssc as $r}
            <li  class="{if $info['ename'] == $r['ename']}curr{/if}" lotteryname="cqssc">
                <a href="index.php?m=index&c=ssc&id={$r['id']}">{$r['title']}</a>
            </li>
          {/loop}
      </ul>
      <span class="next">
        <i class="iconfont icon-a866"></i>
      </span>
        </div>

    <div class="play_select_insert" id="j_play_select">
      <ul class="play_select_tit">
        <li lottery_code="5x" class="curr">五星</li>  
        <li lottery_code="4x">四星</li>
        <li lottery_code="q3">前三</li>
        <li lottery_code="z3">中三</li>
        <li lottery_code="h3">后三</li>
        <li lottery_code="q2">前二</li>
        <li lottery_code="h2">后二</li>
        <li lottery_code="1x">一星</li>
        <li lottery_code="dsds">大小单双</li> 
      </ul>
    </div>
  
  
    <section id="gameBet" class="cl">
    <section class="gameBet_balls">
      <div class="gameBet_left l">
      <!--玩法二级选项开始-->
        <div class="bet_filter_box">
        
        </div>
        <!--玩法二级选项结束-->
        <!--玩法详细说明区域-->
        <div class="play_select_prompt" style="padding:10px 0;">
          <i class="iconfont c_org"></i>
          <span way-data="tabDoc"></span>
        </div>
        <div class="g_Number_Section" style="width: 720px;padding: 15px 0;">
        </div>
        <div class="selectMultiple">
          <span class="select_zhushu">
            您选择了
            <em class="zhushu">0</em>
            注,
          </span>
          <div class="selectMultipleNumber">
            <i class="reduce">-</i>
            <input type="tel" value="1" class="selectMultipInput" onKeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))">
            <i class="add">+</i>
          </div>
          倍
          <select class="selectMultipleCon">
            <option value="1">元</option>
            <option value="0.1">角</option>
            <option value="0.01">分</option>
          </select>
          <span class="selectMultipleOld">
            共
            <em class="selectMultipleOldMoney">
              0.00
            </em>
            元
          </span>
        </div>
        <!--玩法详细说明区域-->
        <div class="addtobet">

          <button class="addtobetbtn" type="button">确认选号</button>
        </div>
        <div class="xiad-left">
        <dl class="yBettingLists">
          
        </dl>
        </div>     
        <div class="g_Chase_Section">
          <div class="chase_Program">
            <p class="p_chase">方案注数
              <i class="c_green fw_600" way-data="ytotal_money_zhushu" id="f_gameOrder_lotterys_num">0</i> 注， 
              金额 <i class="c_org fw_600">¥<em id="f_gameOrder_amount" way-data="ytotal_money">0</em></i> 元  
            </p>
          </div>
        </div>   
        <div class="checkedListCon">
          
        <div class="xiad-righ">
           <a class="betBtn"  id="f_submit_order">马上投注</a>
        
        </div>
            </div>
    
      
    </section>
    <!--选号区域右侧-->
        <div class="gameBet_right">
            <!--今日开奖号码-->
            <div class="right_infsoBlock">
                <div class="title">
                    <span class="fl">开奖公告</span>
                    <span class="fr">
                      <!--
                    <a target="_blank" class="open_lotteryNumb_chart yopen_explain"  href="/Trend.trend_ssc.code.cqssc.do">走势图</a>
                    |
                    <a href="javascript:void(0);" class="yopen_explain helps">玩法说明</a>
                  -->
                    </span>
                </div>
                <div class="block_container lishi">
                    <table id="fn_getoPenGame" border="0px" cellpadding="0" cellspacing="0">
                        <colgroup>
                            <col width="93px" />
                            <col width="50px" />
                            <col width="40px" />
                            <col width="59px" />
                        </colgroup>
                        <thead>
                        <tr>
                            <th style="width:33.33%;">期数</th>
                            <th style="width:33.33%;">奖号</th>
                            <th style="width:33.33%;">开奖时间</th>
                        </tr>
                        </thead>
                        <tbody class="tbody text-c">
                        <!--开奖期号-->
                        <!--开奖号码-->
                        <!--和值-->
                        <!--大小-->
                        <!--单双-->
                        </tbody>
                    </table>
                </div>
            </div>
            <!--今日开奖号码-->

            <!--最新中奖会员-->
            <div class="least_luckMember">
                <div class="title">
                    <span>中奖信息</span>
                    <em class="to_update">中奖信息实时更新</em>
                </div>
                <div class="ranking_scroll_box" style="height:600px;">
                <ul class="ranking_list sum_icon ranking_scroll">
    </ul>
                </div>
            </div>
            <!--最新中奖会员-->
        </div>
      
    </section>

</section>

<script>
    $('.notice').find('.closeNotice').click(function (){
        $('.notice').hide();
        $.ajax({
            url : "/Common.closegg.do",
            type:"POST",
        })
    })
</script>

  <div class="footer mgt40" style="margin-top:10px;">
    <div class="ftadCon">
      <div class="container">
        <ul class="ftad fix">
          <li><a id="dafaCloud" target="_blank" href="javascript::">
          <p>
            技术支持<i>Technical support</i>
          </p>
          <div class="technicalSupport fix">
            <img src="static/images/dafayun.png" alt="大发云">
            <p>
                大众彩票系统
              <br>
               专业的彩票系统平台
            </p>
            <i></i>
          </div>
          </a></li>
          <li>
          <p>
            服务体验<i>Service experience</i>
          </p>
          <ul class="serviceExperience">
            <li>昨日充值到账平均时间
            <p class="footBar">
              <span style="width: 7%;"></span>
            </p>
            <em>0'21</em><i>秒</i></li>
            <li>昨日提现到账平均时间
            <p class="footBar">
              <span style="width: 94%;"></span>
            </p>
            <em>4'42</em><i>秒</i></li>
          </ul>
          </li>
          <li>
          <p>
            充值方式<i>Recharge method</i>
          </p>
          <div class="rechargeMethod">
            <i class="wechat"></i><i class="alipay"></i><i class="cup"></i>
          </div>
          </li>
        </ul>
      </div>
    </div>
    <div class="container _about aboutText">
      <p class="fix">
        {loop $about as $r}
          <a href="index.php?m=index&c=about&a={$r['id']}">{$r['title']}</a>
        {/loop}
      </p>
      <p class="copyright">
        Copyright © <span class="siteName">大众彩票</span> Reserved | 18+
      </p>
    </div>
  </div>
</div>
<div id="confirm" class="layermbox layermbox0 layermshow" index="20" style="display:none;">
  <div class="laymshade">
  </div>
  <div class="layermmain">
    <div class="section">
      <div class="layermchild layerBet layermanim">
        <h3 style="">投注确认</h3>
        <button class="layermend"></button>
        <div class="layermcont">
          <div id="CheckBetLayer" class="lotteryConfirm">
            <ul>
              <li><span>彩种：</span><em class="fill" id="title">{$info['title']}</em></li>
              <li><span>期号：</span>第<em class="fill">{$sscinfo['period']}</em>期</li>
              <li><span>详情：</span>
              <div class="fill textarea">
                <p>
                 
                </p>
              </div>
              </li>
              <li><span>投注总金额：</span><em><em class="fill" id="countmoney">0</em>元</em></li>
            </ul>
          </div>
        </div>
        <div class="layermbtn">
          <span type="0" id="qx">取消</span><span id="k3sub" type="1">确认投注</span>
        </div>
      </div>
    </div>
  </div>
</div>
<script type="text/javascript">
  var optimeurl  = "{U('index/ssc/opentime')}";
  function winningScroll(obj) {
    var height = $(obj).find('li:first').outerHeight();
    var str = -height + 'px';
    var index = 0;

    $(obj).animate({'marginTop' : str},3000,function (){
      $(this).css('marginTop','0px').find('li:first').appendTo($(this));
    })
  }

  function openwindow(url,name,iWidth,iHeight) {
    var url; 
    var name; 
    var iWidth; 
    var iHeight; 
   
    var iTop = (window.screen.height-30-iHeight)/2; 
    var iLeft = (window.screen.width-10-iWidth)/2; 
    window.open(url,name,'height='+iHeight+',,innerHeight='+iHeight+',width='+iWidth+',innerWidth='+iWidth+',top='+iTop+',left='+iLeft+',toolbar=no,menubar=no,scrollbars=auto,resizeable=no,location=no,status=no');
  }
 

 
  var myar = setInterval("winningScroll('.ranking_scroll')",5000);
  $('.ranking_scroll').hover(function (){ 
    clearInterval(myar);
  },function () {
    myar = setInterval("winningScroll('.ranking_scroll')",5000);
  })
 
  var timer1 = null;
  $('.my_account,.user_login_info2_list').mouseover(function (){
    if(timer1){
      clearTimeout(timer1);
    }
    $('.user_login_info2_list').show();
  })
  $('.my_account,.user_login_info2_list').mouseout(function (){
    timer1 = setTimeout(function (){
      $('.user_login_info2_list').hide();
    },300)
  })
 
  var timer2 = null;
  $('.allLottery,.backLeftLottery').mouseover(function (){
    if(timer2){
      clearTimeout(timer2);
    }
    $('.backLeftLottery').show();
  })
  $('.allLottery,.backLeftLottery').mouseout(function (){
    timer2 = setTimeout(function (){
      $('.backLeftLottery').hide();
    },300)
  })
 
  $('.hide_money_btn').click(function () {
    $('.show_money').hide();
    $('.hide_money').show();
  })
  $('.show_money_btn').click(function () {
    $('.show_money').show();
    $('.hide_money').hide();
  })
 
  var index  = 0;
  $('.refresh_money').click(function () {
    index++;
    var sum = index*360;
    $(this).css('transform','rotate('+sum+'deg)');
  })
 
/*   $("[data-toggle='popover']").popover({
  trigger: "hover",
  delay: {hide: 100}
  }).on('shown.bs.popover', function (event) {
      var that = this;
      $('.popover').on('mouseenter', function () {
          $(that).attr('in', true);
      }).on('mouseleave', function () {
          $(that).removeAttr('in');
          $(that).popover('hide');
      });
  }).on('hide.bs.popover', function (event) {
      if ($(this).attr('in')) {
          event.preventDefault();
      }
  }); */
</script>
<style>
  .looding{
    width:100%;
    height:200%;
    z-index: 999;
    background: rgba(0,0,0,0.7);
    position: absolute;
    color:#333;
    top:0;
    left:0;
    text-align:center
  }
  .looding span{
    z-index: 9999;
    background: #ffffff;
    text-align:center;
    font-size:20px;
    color:#000;
    display: block;
    width:200px;
    height:50px;
    line-height: 50px;
    border-radius: 5px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -100PX;
  }
</style>

<script src="static/js/common.js"></script>
<script type="text/javascript">
layui.use(['form', 'layedit', 'laydate'], function(){
  var form = layui.form
  ,layer = layui.layer
  ,layedit = layui.layedit
  ,laydate = layui.laydate;
});
</script>
</body>
</html>